package cn.com.dcsgo.api.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

//import java.io.Serial;
import java.io.Serializable;

/**
 * NotificationDTO
 *
 * @author Dcsgo
 * @since 2025/4/3 15:05
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "通知DTO")
@EqualsAndHashCode(callSuper = false)
public class NotificationDTO implements Serializable {
//    @Serial
    private static final long serialVersionUID = 1L;
    @ApiModelProperty("通知id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("关联用户id")
    private Long userId;

    @ApiModelProperty("通知类型")
    private String type;

    @ApiModelProperty("通知消息")
    private String message;

    @ApiModelProperty("通知状态")
    private String status;

    @ApiModelProperty("创建时间")
    private String createdAt;

    @ApiModelProperty("最后更新时间")
    private String updatedAt;
}
